﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Kinect;

namespace Microsoft.Samples.Kinect.WpfViewers {
    public abstract class KinectMovement {

        public bool Active = false;

        protected TimeSpan tp = new TimeSpan();
        public TimeSpan MovementSpan { get { return tp; } }

        protected int steps = 0;
        public int MovementSteps { get { return steps; } }

        protected DateTime start = DateTime.Now;
        public bool HasGas = false;
        public bool HasBoost = false;

        public abstract void UpdateSkeleton(Skeleton data);
        public abstract void CheckMovement();
        public abstract void MovePlayer();

        public abstract void SetKeys(string gaskey, string boostkey, string leanleft, string leanright, string _brake, string _reverse);
            
    }
}
